import { BaseResponse } from "../base";

export interface LoginReq {
	phone: string;
	password: string;
}

export interface LoginResp extends BaseResponse {
	data: string;
}

export interface RegisterReq {
	phone: string;
	password: string;
}

export interface RegisterResp extends BaseResponse {
	data: string;
}

export interface UserInfoResp extends BaseResponse {
	data: UserInfo;
}

export interface UserInfo {
	id: number;
	nickname: string;
	phone: string;
	avatar?: string;
	gender?: number;
	authStatus?: number;
}